Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / ButtonTextCollection Class / CopyTo Method / CopyTo(String[],Int32) Method
A System.String array serving as the destination for the copy action.
The zero-based index at which to start placing the copied collection.


In This Topic
    CopyTo(String[],Int32) Method
    In This Topic
    Copies the items of the ButtonTextCollection to a compatible one-dimensional array of type System.String, starting at the specified zero-based index of the target array.
    Syntax
    'Declaration
     
    
    Public Overloads Sub CopyTo( _
       ByVal array() As String, _
       ByVal arrayIndex As Integer _
    ) 
    'Usage
     
    
    Dim instance As ButtonTextCollection
    Dim array() As String
    Dim arrayIndex As Integer
     
    instance.CopyTo(array, arrayIndex)
    public void CopyTo( 
       string[] array,
       int arrayIndex
    )

    Parameters

    array
    A System.String array serving as the destination for the copy action.
    arrayIndex
    The zero-based index at which to start placing the copied collection.
    See Also